<style>
    body {
        background-color: #f9f9f9;
    }
</style>
<table class="table table-hover">
    {% if data is not empty %}
        <tr >
            <th width="50%">学校数量：{{ schoolNum }} 教师数量：{{ userNum }}</th>
        </tr>
        <tr class="info">
            <th width="70%">学校</th>
            <th width="30%">教师数量</th>
        </tr>
        {% for row in data %}
            <tr>
                <td>{{ row['sSchoolName'] }}</td>
                <td>{{ row['teaNum'] }}</td>
            </tr>
        {% endfor %}
    {% else %}
        <div style="color: red">
            该书暂未绑定学校老师
        </div>
    {% endif %}
</table>